import Layout from '../components/Layout'
import News from '../components/News.vue'
let routes = [
    {
        path: '/',
        component: Layout,
        redirect: {
            path: 'xinwen'
        },
        children: [
            {
                path: 'xinwen',
                component: () => import('../components/Xinwen'),
            },
            {
                path: 'article',
                component: () => import ('../csm/NewsComments.vue')
            },
            {
                path: 'shishi',
                component: () => import('../csm/Xinwenshishi.vue')
            },
            {
                path: 'gongsi',
                component: () => import('../csm/Gongsidongtai.vue')
            },
            {
                path: 'fengcai',
                component: () => import('../csm/Dashenfengcai.vue')
            },
            {
                path: 'women',
                component: () => import('../components/Guanyuwomen.vue')
            }
        ]
    },
        {
            path: '/news',
            component: News,
        }
]

export default routes